#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    int n, sum = 0;
    int arr[5050] = { 0 };
    /*while (scanf("%d", &n) != EOF)
    {*/scanf("%d", &n);
        for (int i = 1, j = 0; j < 5050; i += 2, j++)
        {
            arr[j] = i;
        }
        for (int k = n - 1; k > 0; k--)
        {
            sum += k;
        }
        printf("%d", arr[sum]);
        for (int i = 1; i < n; i++)
        {
            printf("+%d", arr[sum + i]);
        }
        printf("\n");
    //}
    return 0;
}